import { LOGIN, TOKEN, USER } from '@/store/methodConstant'

const user = {
  state:{
      token:null,
      user:{
      }
  },
  mutations: {
    [TOKEN](state,token){
      state.token = token
    },
    [USER](state,user){
      state.user = user
    }
  },
  actions: {
    [LOGIN](context,data){

    }
  }
}

export default user
